<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:include page="../inc.jsp"></jsp:include>
<jsp:include page="../kindeditorInc.jsp"></jsp:include>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/jsp/messageSpread/list.js"></script>

<!-- content -->
<div class="easyui-layout" data-options="fit:true,border:false">
	<!-- 查询面板 -->
	<div class="tableSearch datagrid-toolbar"
		data-options="region:'north',border:false"
		style="width:100%;height:35px;;overflow: hidden;font-size: 12px;">
		<form id="selectForm">
			<table style="width: 100%; font-size: 12px">
				<tr>
					<th>推送组名</th>
					<td><input class="input_border" name="checkName" id="checkName" />
					</td>
					<th>创建时间</th>
					<td>
						<input id="createDate1" name="createDate1" style="width: 100px;"/>至
						<input id="createDate2" name="createDate2" style="width: 100px;"/>
					</td>
					<th>定时推送</th>
					<td><input class="input_border" name="isTime" id="isTime" />
					</td>
					<th>发送状态</th>
					<td><input class="input_border" name="checkStatus" id="checkStatus" />
					</td>
					<td align="center"><a href="javascript:void(0)" class="easyui-linkbutton" onclick="search_datas()">查询</a>
					 <a href="javascript:void(0)" class="easyui-linkbutton" onclick="reset_datas()">清空</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<!-- 数据表格 -->
	<div data-options="region:'center',border:false">
		<table id="_datasDatagrid"></table>
	</div>
</div>

<!-- 右键菜单 -->
<div>
	<div id="datagridContextMenu" class="easyui-menu" style="width:200px">
		<div data-options="iconCls:'icon-reload'" onclick="_datasDatagrid.datagrid('reload');">刷新</div>
	</div>
</div>

<!-- dialog -->
<div id="dialogAddRow"
	style="width:800px;height:450px;padding:10px;display:none;ooverflow-x:hidden;overflow-y:scroll">
	<form id="formAddRow" method="post">
		<input type="hidden" name="id" id="id" /> <input type="hidden"
			id="sessionID" value='${pageContext.session.id}' />
		<table class="dialogTable">
			<tr>
				<th style="text-align: right;">消息名</th>
				<td colspan="5"><input type="text" id="name" name="name" style="width:250px;" /></td>
			</tr>
			<tr>
				<th style="text-align: right;">用户组</th>
				<td><input type="text" id="groupId" name="groupId" /></td>
				<th style="text-align: right;">用户</th>
				<td><input type="text" id="userIds" name="userIds" /></td>
				<th style="text-align: right;">定时</th>
				<td ><input type="text" id="timing" name="timing"/></td>
			</tr>
			<tr>
				<th style="text-align: right;">推送内容</th>
				<td colspan="5"><textarea id="content" name="content"></textarea></td>
			</tr>
		</table>
	</form>
</div>
</body>
</html>